import request from '@/utils/request'

export default {
  // 列表
  query(data) {
    return request({
      url: `/v1/supplier/supplier-bill/list`,
      method: 'post',
      data
    })
  },
  // 生成对账单详情
  detail(data) {
    return request({
      url: `/v1/supplier/supplier-bill/detail`,
      method: 'post',
      data
    })
  },
  // 生成对账单
  add(data) {
    return request({
      url: `/v1/supplier/check-bill/add`,
      method: 'post',
      data
    })
  }
}
